You can prepare the sweet potatoes (even arrange them in a casserole) and syrup up to 1 day ahead and refrigerate separately. Allow both to come to room temperature before baking.
Here's a simple recipe you can use to make your own pecan pie at home!